package me.zhengjie.modules.quartz.task;

import com.qiaofang.applet.service.property.service.SyncDataQueueService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Slf4j
@Component
@Deprecated
public class DistinctSyncDataTask {

    @Autowired
    private SyncDataQueueService syncDataQueueService;


    /**
     * 清除导入的重复数据，执行一次后废弃
     */
    public void clear() {
        syncDataQueueService.distinctAllSyncData();
    }
}
